package game;

/**
 * An enemy shaped like Pac-Man. The weakest enemy.
 * 
 * @author Alex Lee (hl69)
 */
public class PacmanEnemy extends Enemy
{
	
	int hitpoints;

	public PacmanEnemy(TowerDefense owner)
	{
		this(owner, 0, 0);
	}
	
	public PacmanEnemy(TowerDefense owner, double x, double y)
	{
		super(owner, owner.getImages("resources/pacman.png", 2, 1), x, y);
		
		setHorizontalSpeed(-0.02);
		
		getAnimationTimer().setDelay(250);
		setAnimationFrame(0, 1);
		setAnimate(true);
		setLoopAnim(true);
		
		damage = 30;
	}
	
	public void update(long elapsedTime)
	{
		super.update(elapsedTime);
	}
	
	protected void animationChanged(int oldStat, int oldDir, int status,
			int direction)
	{
		
	}

}
